//
//  DMLoginAndRegisterRequest.h
//  DistributionMallApp
//
//  Created by Jim huang on 2018/10/29.
//  Copyright © 2018年 JHnoplan. All rights reserved.
//

#import "KBaseRequest.h"

NS_ASSUME_NONNULL_BEGIN

@interface DMLoginAndRegisterRequest : KBaseRequest

/**
 登录
 
 @param phone 手机号码
 @param PWD 密码
 */
-(instancetype)initWithloginPhone:(NSString *)phone PWD:(NSString * )PWD;

/**
 获取验证码
 
 @param phone 手机号码
 
 */
-(instancetype)initPhoneSMSCodeWithPhone:(NSString *)phone;

/**
 验证验证码
 
 @param phone 手机号
 @param smsCode 验证码
 */
-(instancetype)initCheckSMSCodeWithPhone:(NSString *)phone smsCode:(NSString *)smsCode;


/**
 注册

 @param inviteCode 邀请码
 @param phone 手机号
 @param password 密码
 @param smsCode 验证码
 */
-(instancetype)initRegisterWithInviteCode:(NSString *)inviteCode phone:(NSString *)phone password:(NSString *)password smsCode:(NSString *)smsCode;


/**
 忘记密码
 
 @param phone 手机号
 @param passWord 新密码
 @param smsCode 验证码
 */
-(instancetype)initForgetPWDWithPhone:(NSString *)phone passWord:(NSString * )passWord smsCode:(NSString *)smsCode;
@end

NS_ASSUME_NONNULL_END
